const Mock = require('mockjs')

const data = Mock.mock({
	'items|25': [{
		'companyInstCode|7': '@integer(0,9)',
		'userAccount|7': '@integer(0,9)',
		userName: '@cname',
		'companyRecordStatus|1-2': true,
		'userCity|1': '@cname 市',
		'userStatus|1': true,
		'userRole|1': ['企业','市']
	}]
})

module.exports = [
	{
		url: '/province/userManage/allUserInfo',
		type: 'get',
		response: config => {
			const items = data.items
			return {
				code: 200,
				data: items
			}
		}
	}
]
